home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 1 (Walnut Creek)
/
Aminet - June 1993 [Walnut Creek].iso
/
usenet
/
sources
/
volume90
/
kernel
/
makefstm.0
/
MakeFastMem.doc
< prev
next >
Wrap
Text File
|
1990-01-14
|
2KB
|
51 lines
MakeFastMem v1.0
====================
MakeFastMem is a little program that changes a chunk of ChipRAM to FastRAM.
At least the OS is fooled to believe that. The reason for doing this is
because some people (programmers) believs that they MUST ask for FastRAM, and
believe that the user always has that.
That is really stupid, and has caused problems for a number of people with
1 Mb ChipRAM for example.
The program can be used both from the CLI and the Workbench. From CLI you
start MakeFastMem by simply writing:
MakeFastMem <size>
where <size> is the size of the FastRAM chunk you want, in bytes. For
example, "MakeFastMem 307200" will create 300 Kb of "FastRAM" (and you lose
300 Kb of ChipRAM of course).
From the Workbench you just double-click on the MakeFastMem icon and the
memory will be changed from ChipRAM to FastRAM. You have to specify the size
of the FastRAM in the ToolTypes-field, by setting FASTMEM to the size you
want. For example, setting the tooltype to:
FASTMEM=307200
will make MakeFastMem to create 300 Kb of FastRAM when you double-click on
its icon.
Once you have changed some chipmem to "fastmem" it will stay that way until
you reboot (or writes a hack to reclaim it).
This code is released in the Public Domain, feel free to modify and improve
it if you want, especially the terrible icon...
-Erik Lundevall Internet: ludde@nada.kth.se
Camelot: Erik Lundevall Sysop (+46-8-348523) 300-2400 bps
SnailMail: Korsbarsvagen 4B/422, S-114 23 STOCKHOLM, SWEDEN